<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>leakinfo</title>
    <!-- 开发环境版本 -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <form method="post">
        <label>姓名</label><input type="text" v-model="name">
        <input type="submit" value="搜索">
    </form>
</div>
<hr>
    {% for name in names %}
    <li>{{ name }}</li>
    {% endfor %}

</body>
<script type="text/javascript">
var app = new Vue({
  el: '#app',
  data: {
    name: ''
  },
})
</script>
</html>